cmake_minimum_required(VERSION 3.14)
project(demo2_algorithm)

set(CMAKE_CXX_STANDARD 14)

add_executable(demo2_algorithm demo1_dynamic_planning/leet_code_70_stairs2.c)
add_executable(aaa demo1_dynamic_planning/leet_code_70_stairs.c)
add_executable(bbb demo1_dynamic_planning/leet_code_120_triangle.c)
add_executable(ccc demo1_dynamic_planning/leet_code_300.c)
add_executable(sort01_bubbleSort demo2_sort/sort01_bubbleSort.c)
add_executable(sort01_bubbleSort_better demo2_sort/sort01_bubbleSort_better.c)
add_executable(sort02_select_sort demo2_sort/sort02_select_sort.c)
add_executable(sort03_merge_sort demo2_sort/sort03_merge_sort.c)
add_executable(sort04_quick_sort demo2_sort/sort04_quick_sort.c)